<?php
define('MODULE_NAME','shopcp');
$actions = array('bzj');
$action = 'bzj';

if(isset($_REQUEST['action']))
{
	$action = strtolower($_REQUEST['action']);
	if(!in_array($action,$actions))
		$action = 'bzj';
}

define('ACTION_NAME',$action);

require dirname(__FILE__).'/core/fanwe.php';
$fanwe = &FanweService::instance();
$fanwe->initialize();

if($_FANWE['uid'] == 0)
	fHeader("location: ".FU('user/login'));
	
require fimport('module/shopcp');
switch(ACTION_NAME)
{
	case 'bzj':
		ShopcpModule::bzj();
	break;
}

?>